package com.ayoka.parenting.ui.grown.index;

import com.ayoka.parenting.bean.GrownIndexBean;
import com.ayoka.parenting.interf.RequestCallback;
import com.ayoka.parenting.mvp.BasePresenter;
import com.ayoka.parenting.mvp.BaseView;

/**
 * @ProjectName: MVPPlugin.
 * @ClassName: GrownIndexContract.
 * @Description: .
 * @Author: jincp.
 * @CreateDate: 2019/10/10 18:17.
 */
public class GrownIndexContract {

    interface View extends BaseView {
        void configMyClassRoomList(GrownIndexBean data);

        void onCreateLiveRoomCallback(boolean isSuccess, int roomId, String scheduleId);
    }

    interface Presenter extends BasePresenter<View> {
        void getMyClassRoomList();

        void createLiveRoom(int roomId, String scheduleId);
    }

    interface Model {
        void getMyClassRoomList(BasePresenter presenter, RequestCallback<GrownIndexBean> callback);
    }
}
